<?php
namespace app\serversms\model;

use \app\manage\model\BaseModel;
//短信配置类
class Sms extends BaseModel
{
	protected $name = 'sms';
    protected $connection = 'db_config_sms';
    protected $dateFormat = 'Y-m-d';

    public function setSmsInfoAttr($value)
    {
        return json_encode($value);
    }
   
    public function getSmsInfoAttr($value)
    {
        return json_decode($value);
    }
  
}